﻿using MediatR;
using SCM.ErrorCode;
using SCM.Extensions.Ledger;

namespace SCM.API.Read.Application.Command.Ledger
{
    public class GetEnterOutCommand:IRequest<APIPaging<EnterOutDTO>>
    {
        public int PageIndex { get; set; } = 1;
        public int PageSize { get; set; } = 15;
        /// <summary>
        /// 业务类型
        /// </summary>
        public int? BusinessType { get; set; }
        /// <summary>
        /// 出入库类型
        /// </summary>
        public int? STId { get; set; }
        /// <summary>
        /// 出入库日期
        /// </summary>
        public DateTime? DateTime { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string? DepotName { get; set; }
        /// <summary>
        /// 出入库单号
        /// </summary>
        public string? Code { get; set; }
    }
}
